-
-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: added token, refreshToken cookieName option #654
feat: added token, refreshToken cookieName option #654
Conversation
Looks good to me. |
dbcc5db
to
e21e13e
Compare
/** | ||
* It refers to the name of the property when it is stored in a cookie. | ||
* | ||
* @default auth:token |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, change auth:token
to auth.token
everywhere
@FAL-coffee I have functionally tested your changes. Please, address the review and it can be safely merged. |
@phoenix-ru |
@FAL-coffee Amazing work |
Closes #650 .
Allow the user to change the property name where tokens are stored in the cookie when using local or refresh types.
Why this is needed:
Conflicts occur with where tokens are stored when multiple environments are launched on localhost.
It also solves the problem that issue #650 refers to.
Checklist:
#
)